package config.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * Created by Administrator on 2017/1/9.
 */
public class GlobalServiceInterceptor implements Interceptor {
    public void intercept(Invocation invocation) {
        System.out.println("服务层拦截器前");
        invocation.invoke();
        System.out.println("服务层拦截器后");

    }
}
